package cate.game.pvp.eliterace.handler;

import cate.game.pvp.eliterace.data.EliteRaceRedPacketRecord;
import cate.game.pvp.eliterace.data.EliteRaceSpec;

import java.util.List;

public interface EliteRaceRedPacketOperation {

    EliteRaceRedPacketRecord query(EliteRaceSpec spec, String uid);

    List<EliteRaceRedPacketRecord> query(EliteRaceSpec spec, long limit);

    void insert(EliteRaceSpec spec, EliteRaceRedPacketRecord record);
}
